package cn.tedu._07springaop.aop;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class TestCalculator {
	public static void main(String[] args) {
		AnnotationConfigApplicationContext ctx = new
		 AnnotationConfigApplicationContext("cn.tedu._07springaop");
		CalculatorImpl bean = ctx.getBean(CalculatorImpl.class);
		bean.div(20, 10);
	}
}
